package com.ruoyi.client.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description 微信小程序配置
 * @Author huangxiong
 * @Date 2022/8/31 14:02
 * @Version V1.0
 */
@Data
@ConfigurationProperties(prefix = "biz.mp")
public class WxMpProperties {

    /**
     * 设置微信小程序的appid
     */
    private String appid;

    /**
     * 设置微信小程序的Secret
     */
    private String secret;

    /**
     * 设置微信小程序消息服务器配置的token
     */
    private String token;

    /**
     * 设置微信小程序消息服务器配置的EncodingAESKey
     */
    private String aesKey;

    /**
     * 消息格式，XML或者JSON
     */
    private String msgDataFormat;

    private String mchId;

    private String mchKey;

    private String keyPath;

    private String notifyUrl;

    private String certSerialNo;
}
